import numpy as np
import pandas as pd
from matplotlib import pyplot as plt

sers = pd.Series(['a','b','c','d','e'])
print(sers)

print('sers index:{}'.format(sers.index))
print('sers values:{}'.format(sers.values))


sers2 = pd.Series([1,2,3,4],index=['a','b','c','d'])
print(sers2)
print('sers2 index:{}'.format(sers2.index))
print('sers2 values:{}'.format(sers2.values))
sers3 = pd.Series({'a':1,'b':2,'c':3,'d':4})
print(sers3)
print('sers3 index:{}'.format(sers3.index))
print('sers3 values:{}'.format(sers3.values))